package com.example.handpose_front.utils;

/**
 * 基于ThreadLocal封装工具类，用户保存和获取当前登录用户手机号
 */
public class LocalStorage {
    public static String localCurDictionaryId = "null";
    public static String localUserPhone = "null";
    public static String localTodayWords = "0";

    public static void setCurrentPhone(String userPhone) {
        localUserPhone = userPhone;
    }

    public static String getCurrentPhone() {
        return localUserPhone;
    }

    public static void setCurDictionaryId(String curDictionaryId) {
        localCurDictionaryId = curDictionaryId;
    }

    public static String getLocalCurDictionaryId() {
        return localCurDictionaryId;
    }

    public static void setTodayWords(String todayWords) {
        localTodayWords = todayWords;
    }

    public static String getTodayWords() {
        return localTodayWords;
    }

}